Package com.cisco.pt.ipc.sim.impl
Class HTTPsServerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.HTTPServerImpl
com.cisco.pt.ipc.sim.impl.HTTPsServerImpl
- All Implemented Interfaces:
IPCObject,HTTPServer,HTTPsServer,Process
Information provided by the PKI file:
\class HttpsServer
\brief HttpsServer handles and manipulates the HTTPS server on devices.
\example network().getDevice("Server0").getProcess("HttpsServer")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionHTTPsServerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanInformation provided by the PKI file:voidsetHttpsEnable(boolean bEnable) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.HTTPServerImpl
getPage, getPassword, getPortNumber, getUsername, isEnabled, setEnable, setPageContents, setPassword, setPortNumber, setUsernameMethods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.HTTPServer
getPage, getPassword, getPortNumber, getUsername, isEnabled, setEnable, setPageContents, setPassword, setPortNumber, setUsernameMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
HTTPsServerImpl
public HTTPsServerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setHttpsEnable
public void setHttpsEnable(boolean bEnable) Information provided by the PKI file:
\brief Enables or disables the HTTPS service. \param bEnable, true to enable the HTTPS service, false to disable it.- Specified by:
setHttpsEnablein interfaceHTTPsServer- Parameters:
bEnable- Takes in a parameter of bEnable
-
isHttpsEnabled
public boolean isHttpsEnabled()Information provided by the PKI file:
\brief Returns true if the HTTPS service is enabled, otherwise false. \return bool, true if the HTTPS service is enabled, otherwise false.- Specified by:
isHttpsEnabledin interfaceHTTPsServer- Returns:
- boolean Returns a boolean
-